<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Calculation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" disabled
                value="{$calculation.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coefficient')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!-- <input id="c-coefficient_id" data-rule="required" data-source="carbon/coefficient/info/index"
                class="form-control selectpage" name="row[coefficient_id]" type="text" value=""> -->
            {:build_select('row[coefficient_id]', $coefficientdata, null, ['class'=>'form-control',
            'required'=>''])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Energy')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[energy_id]', $typedata, null, ['class'=>'form-control', 'required'=>''])}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>